package bancosys.tec.utils.math;

import java.math.BigDecimal;

/**
 * @author Rafael Volpato (Feb 18, 2008)
 */
public class AddCommand implements BigDecimalCommand {

    /**
     * Executa o comando <b>add</b> do BigDecimal.
     * 
     * @param num1 num1
     * @param num2 num2
     * @return num1 + num2
     */
    public BigDecimal execute(BigDecimal num1, BigDecimal num2) {
        return num1.add(num2);
    }
}
